﻿/// <reference name="MicrosoftAjax.js"/>

Type.registerNamespace("YUIAspNet");

YUIAspNet.AutoComplete = function(element) {
    YUIAspNet.AutoComplete.initializeBase(this, [element]);
}

YUIAspNet.AutoComplete.prototype = {
    initialize: function() {
        YUIAspNet.AutoComplete.callBaseMethod(this, 'initialize');
    },

    initializeYUIControl: function(sender, args) {
        
    },

    get_DatePattern: function() {
        return this._datePattern;
    },
    set_DatePattern: function(datePattern) {
        this._datePattern = datePattern;
    },

    add_OnUnselect: function(handler) {
        this.get_events().addHandler("OnUnselect", handler);
    },
    remove_OnUnselect: function(handler) {
        this.get_events().removeHandler("OnUnselect", handler);
    }
}

YUIAspNet.Calendar.registerClass('YUIAspNet.AutoComplete', YUIAspNet.BaseControl);
